﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sucdri.Domain.Model;

namespace Sucdri.Domain.Repository
{

   public enum ActionType
   {
      Create,
      Update,
      Delete
   }

   internal class ScheduledAction
   {
      private readonly DomainEntity _target;
      private readonly ActionType _action;

      public ScheduledAction(DomainEntity target, ActionType action)
      {
         _target = target;
         _action = action;
      }

      public DomainEntity Target
      {
         get { return _target; }
      }

      public ActionType Action
      {
         get { return _action; }
      }
   }
}
